﻿using System;
using System.Data;
using System.Configuration;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Collections;
using WebApp.AppCode;

public partial class Manage_Modle_Product_ProdSec : System.Web.UI.Page
{
    public CompetenceLib CL = new CompetenceLib();
    protected void Page_Load(object sender, EventArgs e)
    {
        CL.IsLogin();
    }
    protected void btnSec_Click(object sender, EventArgs e)
    {
        NewSec NS = new NewSec();
        NS.TitleKey = txbKey.Text;
        NS.CountionKey = txbTitleKey.Text;
        NS.Key = txbCountionKey.Text;
        NS.BeginTime = txbStateTime.Text;
        NS.EndTime = txbEndTime.Text;
        Session.Add("NewSec", NS);
        Server.Transfer("ListPage0.aspx");
    }
}
